package com.hmo.controller;


import com.hmo.service.UserService;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author hmo
 * @since 2020-11-22
 */
@RestController
@RequestMapping("/login")
public class UserController {

    @Autowired
    UserService userService;

    @GetMapping("/i")
    private void login(){
        userService.insertUser();
    }

}

